<extend name="Public/base" />
<block name="style">
    
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/default.css" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/select.css" />
    <link rel="stylesheet" type="text/css" href="__MSTATIC__/css/icon_box.css" />
</block>
<block name="body">
 <div class="row">
							<div class="col-md-12">
								<!-- BOX -->
								<div class="panel panel-default" style="background:#fff">
          <div class="panel-body panel-body-nopadding">
          
           <form action="{:U('')}" class="form1 form-horizontal row-border" >
                      <div class="form-group">
                        <label class="col-md-2 control-label">用户组</label>
                        <div class="col-md-10">
                          <input type="text" name="title" value="{$info.title}" placeholder="用于后台显示的菜单" class="form-control">
                        </div>
                      </div>

                          <div class="form-group">
                        <label class="col-md-2 control-label">说明</label>
                        <div class="col-md-10">
                         <textarea name="description" class="form-control" rows="5" style="height: 90px;">{$info.description}</textarea>
                        </div>
                      </div>               
                                          <input type="hidden" name="id" value="{$info.id|default=''}">        
                                      <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                          <button type="submit" class="btn btn-info"><empty name="info['id']">新增<else />修改</empty>权限组</button>
                        </div>
                      </div>
                    </form>
          
        </div>
              </div>

								<!-- /BOX -->
							</div>
						</div>
</block>
<block name="script">
    <script type="text/javascript" src="__STATIC__/js/fullcalendar/fullcalendar.min.js"></script>
    <script type="text/javascript" src="__STATIC__/js/uniform/jquery.uniform.min.js"></script>
 <script>
		jQuery(document).ready(function() {
                    Lqw.highlight_subnav("{:U('AuthGroup/index')}");
			App.setPage("login");  //Set current page
			App.init(); //Initialise plugins and elements
		});
	</script>
        </block>